package org.llc.gof.structure.proxy.dynamic.basic0;

/**
 * @author harvey
 */
public class SubjectImpl implements ISubject {

    private String name;

    public SubjectImpl(String _name) {
        name = _name;
    }


    @Override
    public String doAnything() {
        System.out.println("实现类实现接口中的方法1" + name);
        return "anyStr";
    }

    @Override
    public Integer doSomething(String name) {
        System.out.println("实现接口中的方法2" + name);
        return 1;
    }
}
